<style>
    .layui-fixbar {
        display: none !important;
    }
    
    .layui-form-label {
        width: 120px;
    }
</style>
<div class="widget-head" style="margin-top:0;">
    <div class="widget-title">用户设置</div>
</div>

<div class="layui-clear">
    <form class="layui-form" onsubmit="return false;" action="/user/api_admin/setup_post" method="post" style="padding-bottom:50px;">
        <div class="layui-form-item">
            <label class="layui-form-label">默认头像：</label>
            <div class="layui-input-block">
                <div class="xy-upload">
                    <input type="text" name="avatar" style="width:400px;display:inline-block" value="{$info.avatar}" placeholder="请输入用户默认头像地址" class="layui-input xy-upload-img-input">
                    <a href="javascript:;" class="layui-btn xy-upload-img">上传用户默认头像</a>
                    <div class="xy-upload-img-box" style="background:#f8f8f8;text-align:center;">
                        <if condition="$info['avatar']">
                            <img src="{$info['avatar']}">
                            <else/>
                            <span style="font-size:18px;line-height:80px;color:#eee;">默认头像</span>
                        </if>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">国家列表：</label>
            <div class="layui-input-block">
                <textarea name="countrys" placeholder="请输入经销商国家列表" class="layui-textarea">{$info.countrys}</textarea>
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">代理商级别：</label>
            <div class="layui-input-block">
                <textarea name="agencys" placeholder="请输入代理商级别列表" class="layui-textarea">{$info.agencys}</textarea>
            </div>
        </div>

        <div class="layui-form-item xy-bottom">
            <button class="layui-btn" lay-submit="" lay-filter="*">确定</button>
        </div>
    </form>
</div>

<script>
</script>